﻿
    <link href="<{$config.weburl}>/templates/default/css/buying.css?t=<{$now_time}>" rel="stylesheet" media="screen" type="text/css" />
    <link href="<{$config.weburl}>/templates/default/css/gynei.css?t=<{$now_time}>" rel="stylesheet" media="screen" type="text/css" />
        <!-- 中间内容 -->
        <div class="g-bd" data-image="" data-color="" style="background-position: 50% 50px;">
            <div id="show_full_calendar" style=" display: block; padding: 0px 50px;"></div>

            <script type="text/javascript">
                $(function(){
                    $('#show_full_calendar').fullCalendar({
                        header: {
                            left: 'prev,next today',
                            center: 'title',
                            right: 'month,agendaWeek,agendaDay,listMonth'
                        },
                                defaultDate:"2017-1-02",
                                theme:true,
                                navLinks: true,
                                businessHours: true,
                                handleWindowResize:true,
                                editable: true,
                                eventLimit: true,
                                events: [

                                <{foreach item=vo from=$list}>
                                    {
                                        title: "<{$vo.pname}>",
                                        start: "<{$vo.performance_start_time|date_format:'%Y-%m-%d %H:%M:%S'}>",
                                        url: "<{$config.weburl}>/?m=product&s=detail&id=<{$vo.id}>"
                                    },
                            <{/foreach}>

                    ]
                });

                });

            </script>

        </div>



    <link rel='stylesheet' href='<{$config.weburl}>/script/fullcalendar/lib/cupertino/jquery-ui.min.css' />
    <link href="<{$config.weburl}>/script/fullcalendar/fullcalendar.min.css" rel='stylesheet' />
    <link href="<{$config.weburl}>/script/fullcalendar/fullcalendar.print.min.css" rel='stylesheet' media='print' />
    <script src="<{$config.weburl}>/script/fullcalendar/lib/moment.min.js"></script>
    <script src="<{$config.weburl}>/script/fullcalendar/fullcalendar.min.js"></script>
    <script src="<{$config.weburl}>/script/fullcalendar/fullcalendar.min.js"></script>
    <script src="<{$config.weburl}>/script/fullcalendar/locale/zh-cn.js"></script>